﻿using System;
namespace PBOffice.Model
{
	/// <summary>
    /// Message:消息表(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Message
	{
		public Message()
		{}
		#region Model
        private int _messageid;//消息id
        private string _title;//消息标题
        private string _content;//消息内容
        private int _type;//消息类型
        private DateTime _begintime;//消息开始有效时间
        private DateTime _endtime;//消息有效结束时间
        private string _fromuserid;//消息发布者
		private int _ifpublish;//1：已发布，0：未发布
        private DateTime _recordtime;//填写消息时间
		/// <summary>
		/// 
		/// </summary>
		public int MessageId
		{
			set{ _messageid=value;}
			get{return _messageid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Title
		{
			set{ _title=value;}
			get{return _title;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Content
		{
			set{ _content=value;}
			get{return _content;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int Type
		{
			set{ _type=value;}
			get{return _type;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime BeginTime
		{
			set{ _begintime=value;}
			get{return _begintime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime EndTime
		{
			set{ _endtime=value;}
			get{return _endtime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string FromUserId
		{
			set{ _fromuserid=value;}
			get{return _fromuserid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int IfPublish
		{
			set{ _ifpublish=value;}
			get{return _ifpublish;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime RecordTime
		{
			set{ _recordtime=value;}
			get{return _recordtime;}
		}
		#endregion Model

	}
}

